package com.sdh.onlinemarket.entity;

import java.math.BigDecimal;
import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 施德昊
 * @since 2021-11-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Orders implements Serializable {

    private static final long serialVersionUID = 1L;

    private String orderid;

    private String userid;

    private String postid;

    private BigDecimal tprice;

    /*
    0：创建订单
    1：已支付
    2：已发货
    3：已完成
    4：合同已支付
    5：合同已完成
     */
    private Integer ostatus;

    private LocalDateTime ordertime;
}
